﻿using UnityEngine;
using System.Collections;

public class NewBehaviourScript : MonoBehaviour {

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update	()	{		
 	float	speed	=	12.0f;			//	déplacer	l’objet	5	m	par	seconde	
	float	x	=	Input.GetAxis("Horizontal")	*	Time.deltaTime	*	speed*1.2f;		
	float	z	=	Input.GetAxis("Vertical")	*	Time.deltaTime	*	speed;		
	transform.Translate(x,	z,	0);	
	}	
}
